package com.heima.model.wemedia.pojos;

import java.util.Date;

public class CreatNewsStatistics {
    public static WmNewsStatistics getNewsStatistics(Integer userId, String data){
        WmNewsStatistics wmNewsStatistics = new WmNewsStatistics();
        wmNewsStatistics.setUserId(String.valueOf(userId));
        wmNewsStatistics.setCreatTime(new Date());

        wmNewsStatistics.setArticle(0);
        wmNewsStatistics.setCollection(0);
        wmNewsStatistics.setComment(0);
        wmNewsStatistics.setFollow(0);
        wmNewsStatistics.setLikes(0);
        wmNewsStatistics.setFansReadCount(0);
        wmNewsStatistics.setReadCount(0);
        wmNewsStatistics.setUnFollow(0);
        wmNewsStatistics.setUnLikes(0);
        return wmNewsStatistics;
    }
}
